package com.jdd.modules.parkcar.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jdd.common.util.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: 车辆异常出场日志表
 * @Author: jdd
 * @Date: 2021-09-09
 * @Version: V1.0
 */
@Data
@TableName("park_car_out_abnormal_log")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "park_car_out_abnormal_log对象", description = "车辆异常出场日志表")
public class ParkCarOutAbnormalLog {

    /**
     * 出口名称
     */
    @Excel(name = "出口名称", width = 15)
    @ApiModelProperty(value = "出口名称")
    private String armName;
    /**
     * 车辆入场ID
     */
    @Excel(name = "车辆入场ID", width = 15)
    @ApiModelProperty(value = "车辆入场ID")
    private String carEnterId;
    /**
     * 车辆性质(0:临时车,1:月租车,2储值车，3军警车）
     */
    @Excel(name = "车辆性质(0:临时车,1:月租车,2储值车，3军警车）", width = 15)
    @ApiModelProperty(value = "车辆性质(0:临时车,1:月租车,2储值车，3军警车）")
    private String carNature;
    /**
     * 车辆出场时间
     */
    @Excel(name = "车辆出场时间", width = 15)
    @ApiModelProperty(value = "车辆出场时间")
    private String carOutTime;
    /**
     * 出场车辆类型(0,无牌车，1,有牌车)
     */
    @Excel(name = "出场车辆类型(0,无牌车，1,有牌车)", width = 15)
    @ApiModelProperty(value = "出场车辆类型(0,无牌车，1,有牌车)")
    private String carType;
    /**
     * 创建时间
     */
    @Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 结束时间
     */
    @Excel(name = "结束时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;
    /**
     * 主键
     */
    @TableId(type = IdType.UUID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 抓拍图片地址
     */
    @Excel(name = "抓拍图片地址", width = 15)
    @ApiModelProperty(value = "抓拍图片地址")
    private String imgPath;
    /**
     * 设备ip地址
     */
    @Excel(name = "设备ip地址", width = 15)
    @ApiModelProperty(value = "设备ip地址")
    private String ipAddr;
    /**
     * 车辆订单信息表id
     */
    @Excel(name = "车辆订单信息表id", width = 15)
    @ApiModelProperty(value = "车辆订单信息表id")
    private String orderId;
    /**
     * 云图片地址
     */
    @Excel(name = "云图片地址", width = 15)
    @ApiModelProperty(value = "云图片地址")
    private String ossImgPath;
    /**
     * 车场编号
     */
    @Excel(name = "车场编号", width = 15)
    @ApiModelProperty(value = "车场编号")
    private String parkCode;
    /**
     * 停车场名称
     */
    @Excel(name = "停车场名称", width = 15)
    @ApiModelProperty(value = "停车场名称")
    private String parkName;
    /**
     * 1未支付，2 已支付
     */
    @Excel(name = "1未支付，2 已支付", width = 15)
    @ApiModelProperty(value = "1未支付，2 已支付")
    private String payStatus;
    /**
     * 车牌号
     */
    @Excel(name = "车牌号", width = 15)
    @ApiModelProperty(value = "车牌号")
    private String plateNo;
    /**
     * 放行备注
     */
    @Excel(name = "放行备注", width = 15)
    @ApiModelProperty(value = "放行备注")
    private String remark;
    /**
     * 设备序列号，设备唯一
     */
    @Excel(name = "设备序列号，设备唯一", width = 15)
    @ApiModelProperty(value = "设备序列号，设备唯一")
    private String serialNo;
    /**
     * 异常类型
     */
    @Excel(name = "异常类型", width = 15)
    @ApiModelProperty(value = "异常类型")
    private String recordType;
    @ApiModelProperty(value = "是否成功同步到云端 N:失败 Y:成功")
    private String synchronousStatus;
}
